/* 增强连接线样式 */
.connections-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: stroke; /* 允许点击线条 */
}

.connection {
  stroke-opacity: 0.8;
  transition: all 0.2s ease-out;
}

.connection.highlight {
  stroke-opacity: 1;
  stroke-width: 3px !important;
  filter: drop-shadow(0 0 3px rgba(64, 158, 255, 0.5));
}

.connection:hover {
  cursor: pointer;
}

/* 四边连接点 */
.function-node::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #409EFF;
  opacity: 0;
  transition: opacity 0.2s;
}
.node-title{
  font-size: 14px;
  font-weight: bold;
}
.node-delete-btn {
  position: absolute;
  top: 10px;
  right: 10px; 
}

/* 状态指示器 */
.node-status-indicator {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

/* 参数行样式 */
.param-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 2px 0;
}

.param-name {
  color: #666;
}

.param-value {
  color: #222;
  font-weight: bold;
}